package com.qf.Listener.Topic;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class testTopicLis02 {
    @RabbitListener(queues = "topic02")
    public void consum(String message) {
        System.out.println("消费了队列2----------------"+message);
    }
}
